<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.4"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>miniFOC: algorithm/report.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectlogo"><img alt="Logo" src="Acme_LOGO.png"/></td>
  <td id="projectalign">
   <div id="projectname">miniFOC<span id="projectnumber">&#160;1.0.3</span>
   </div>
   <div id="projectbrief">This open-source project aims to accomplish a FOC(Field Oriented Control) scheme that is operatable with minimum costs in China.</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.4 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search",'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_99d3723365464dd656f512988bb8dbbd.html">algorithm</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle"><div class="title">report.h File Reference</div></div>
</div><!--header-->
<div class="contents">

<p>this is the header file of <a class="el" href="report_8c.html" title="this file is used to write the report correlation function of the feedback host computer.">report.c</a>.  
<a href="#details">More...</a></p>

<p><a href="report_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a39f7667109df28fd65d1b391498f043f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="report_8h.html#a39f7667109df28fd65d1b391498f043f">report_local_variable</a> (void)</td></tr>
<tr class="memdesc:a39f7667109df28fd65d1b391498f043f"><td class="mdescLeft">&#160;</td><td class="mdescRight">report PID parameters and current user settings  <a href="report_8h.html#a39f7667109df28fd65d1b391498f043f">More...</a><br /></td></tr>
<tr class="separator:a39f7667109df28fd65d1b391498f043f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad34fcba452be8c07f046c3a11950d41c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="report_8h.html#ad34fcba452be8c07f046c3a11950d41c">report_angle_speed</a> (void)</td></tr>
<tr class="memdesc:ad34fcba452be8c07f046c3a11950d41c"><td class="mdescLeft">&#160;</td><td class="mdescRight">report angle and speed using medium capacity transport protocol  <a href="report_8h.html#ad34fcba452be8c07f046c3a11950d41c">More...</a><br /></td></tr>
<tr class="separator:ad34fcba452be8c07f046c3a11950d41c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p >this is the header file of <a class="el" href="report_8c.html" title="this file is used to write the report correlation function of the feedback host computer.">report.c</a>. </p>
<dl class="section author"><dt>Author</dt><dd>Lao·Zhu </dd></dl>
<dl class="section version"><dt>Version</dt><dd>V1.0.1 </dd></dl>
<dl class="section date"><dt>Date</dt><dd>9. October 2021 </dd></dl>

<p class="definition">Definition in file <a class="el" href="report_8h_source.html">report.h</a>.</p>
</div><h2 class="groupheader">Function Documentation</h2>
<a id="ad34fcba452be8c07f046c3a11950d41c" name="ad34fcba452be8c07f046c3a11950d41c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad34fcba452be8c07f046c3a11950d41c">&#9670;&nbsp;</a></span>report_angle_speed()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void report_angle_speed </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>report angle and speed using medium capacity transport protocol </p>

<p class="definition">Definition at line <a class="el" href="report_8c_source.html#l00069">69</a> of file <a class="el" href="report_8c_source.html">report.c</a>.</p>

<p class="reference">References <a class="el" href="system_8c_source.html#l00060">float_to_int32()</a>, <a class="el" href="foc_8c_source.html#l00020">FOC_Struct</a>, <a class="el" href="uart_8c_source.html#l00113">mdtp_data_transmit()</a>, <a class="el" href="foc_8h_source.html#l00018">FOC_Structure_t::mechanical_angle</a>, and <a class="el" href="foc_8h_source.html#l00019">FOC_Structure_t::rotate_speed</a>.</p>

<p class="reference">Referenced by <a class="el" href="main_8c_source.html#l00139">main()</a>.</p>

</div>
</div>
<a id="a39f7667109df28fd65d1b391498f043f" name="a39f7667109df28fd65d1b391498f043f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a39f7667109df28fd65d1b391498f043f">&#9670;&nbsp;</a></span>report_local_variable()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void report_local_variable </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>report PID parameters and current user settings </p>

<p class="definition">Definition at line <a class="el" href="report_8c_source.html#l00015">15</a> of file <a class="el" href="report_8c_source.html">report.c</a>.</p>

<p class="reference">References <a class="el" href="pid_8h_source.html#l00018">ANGLE_LOOP_CONTROL</a>, <a class="el" href="pid_8c_source.html#l00028">angle_pid_handler</a>, <a class="el" href="system_8c_source.html#l00030">delayms()</a>, <a class="el" href="pid_8h_source.html#l00029">PID_Structure_t::expect</a>, <a class="el" href="system_8c_source.html#l00060">float_to_int32()</a>, <a class="el" href="foc_8c_source.html#l00028">foc_parameter_available_flag</a>, <a class="el" href="foc_8c_source.html#l00020">FOC_Struct</a>, <a class="el" href="pid_8h_source.html#l00027">PID_Structure_t::kd</a>, <a class="el" href="pid_8h_source.html#l00026">PID_Structure_t::ki</a>, <a class="el" href="pid_8h_source.html#l00025">PID_Structure_t::kp</a>, <a class="el" href="led_8h_source.html#l00025">led_toggle</a>, <a class="el" href="encoder_8c_source.html#l00023">machine_angle_offset</a>, <a class="el" href="uart_8c_source.html#l00113">mdtp_data_transmit()</a>, <a class="el" href="foc_8c_source.html#l00024">phase_sequence</a>, <a class="el" href="pid_8c_source.html#l00020">pid_control_mode_flag</a>, <a class="el" href="pid_8c_source.html#l00016">pid_parameter_available_flag</a>, <a class="el" href="pid_8h_source.html#l00016">SPEED_LOOP_CONTROL</a>, <a class="el" href="pid_8c_source.html#l00024">speed_pid_handler</a>, <a class="el" href="pid_8h_source.html#l00032">PID_Structure_t::sum_maximum</a>, <a class="el" href="pid_8h_source.html#l00014">TORQUE_LOOP_CONTROL</a>, and <a class="el" href="foc_8h_source.html#l00020">FOC_Structure_t::user_expect</a>.</p>

<p class="reference">Referenced by <a class="el" href="main_8c_source.html#l00139">main()</a>.</p>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.4
</small></address>
</body>
</html>
